<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <script language="javascript" type="text/javascript">
	<!--	
		function showImage(src)
		{
			document.getElementById("media_image").src = src;
		}
		
		function onMouseHover(myDom, img_name)
		{
			var str = myDom.src;
			var cL = str.length;
			var find_str = "\\";
			var fL = find_str.length;
			var pos = str.lastIndexOf(find_str);
			if(pos == -1)
			{
				find_str = "/";
				fL = find_str.length;
				pos = str.lastIndexOf(find_str);	
			}
			var mySrc = str.substring(0, pos + fL);
			var myImgName = str.substring(pos + fL, cL);
			var url = mySrc + img_name;
			myDom.src = url;
		}
	-->
	</script>
	<link rel="stylesheet" type="text/css" href="<?php echo Utility::getSiteUrl();?>/public/css/style.css" />
    <link rel="stylesheet" href="<?php echo Utility::getSiteUrl();?>/public/css/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
	<title><?php echo isset($block['title'])?$block['title']:"";?></title>
    <?php echo isset($block['js'])?$block['js']:"";?>
    <script src="<?php echo Utility::getSiteUrl(); ?>/public/js/jquery.tools.min.js"></script>
    <script type="text/javascript" src="<?php echo Utility::getSiteUrl(); ?>/public/js/jquery.fancybox-1.3.4.pack.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {

	/* This is basic - uses default settings */
	
	$("a#single_image").fancybox();
	
	/* Using custom settings */
	
	$("a#inline").fancybox({
		'hideOnContentClick': true
	});

	/* Apply fancybox to multiple items */
	
	$("a.group").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	false
	});
	
});
    </script>
</head>
<body>
	<div id="wrapper">

		<div id="container">
			<div id="header">
				<div id="logo">
                    <a href="<?php echo Utility::getSiteUrl(); ?>"><img src="<?php echo Utility::getSiteUrl();?>/public/images/logo.png" id="s_logo" onmouseover="onMouseHover(this, 'logo_hover.png');" onmouseout="onMouseHover(this, 'logo.png');" /></a><br />
                    <img src="<?php echo Utility::getSiteUrl();?>/public/images/logo_name.png" />
                </div>
                <?php echo isset($block['menu'])?$block['menu']:""; ?>
			</div>
			<div id="body">
				<div id="body_cat">
                    	<?php echo isset($block['cat_list'])?$block['cat_list']:""; ?>
                    
						<?php echo isset($block['mini_map'])?$block['mini_map']:""; ?>
						<?php echo isset($block['adv'])?$block['adv']:""; ?>
				</div>
				<div id="body_main">
					<?php echo isset($block['main_content'])?$block['main_content']:""; ?>
				</div>
                <div class="vide"></div>
            </div>
		</div>
        <div class="vide"></div>
		<div id="footer">
        	<span>@2011, Club Games, Virtual Spaces</span>
            <ul>
            	<li><a href="<?php echo Utility::getSiteUrl(); ?>">Trang chủ</a></li>
                <li><a href="<?php echo Utility::getSiteUrl(); ?>/about">Giới thiệu</a></li>
                <li><a href="<?php echo Utility::getSiteUrl(); ?>/diendan">Diễn đàn</a></li>
                <li><a href="<?php echo Utility::getSiteUrl(); ?>/imagealbum">Thư viện</a></li>
                <li><a href="<?php echo Utility::getSiteUrl(); ?>/contact">Liên hệ</a></li>
                <li class="last-child"><a href="<?php echo Utility::getSiteUrl(); ?>/category/show/18">Sự kiện</a></li>
            </ul>
			<img src="<?php echo Utility::getSiteUrl();?>/public/images/footer.jpg" />
		</div>
	</div>
</body>
</html>
